package com.example.filesystem.model;

import lombok.Data;

import javax.persistence.*;
import java.time.LocalDateTime;

@Entity
@Table(name = "upload_infos")
@Data
public class UploadInfo {
    @Id
    private String uploadId;

    private String fileName;
    private Long fileSize;
    private Integer chunkSize;
    private Long userId;
    private String creator;
    private Long categoryId;
    private String status;
    private LocalDateTime createdAt;
}